package cn.edu.uestc.framework.domain;

import java.util.Date;

public class TKLogBase {
    protected long id;
    protected String ip;
    protected String requestURL;
    protected Date timestamp;
    protected String uid;

    public TKLogBase() {
    }

    public TKLogBase(String ip, String requestURL, Date timestamp, String uid) {
        this.ip = ip;
        this.requestURL = requestURL;
        this.timestamp = timestamp;
        this.uid = uid;
    }

    public TKLogBase(long id, String ip, String requestURL, Date timestamp, String uid) {
        this.id = id;
        this.ip = ip;
        this.requestURL = requestURL;
        this.timestamp = timestamp;
        this.uid = uid;
    }


    @Override
    public String toString() {
        return "TKLogBase{" +
                "id=" + id +
                ", ip='" + ip + '\'' +
                ", requestURL='" + requestURL + '\'' +
                ", timestamp=" + timestamp +
                ", uid='" + uid + '\'' +
                '}';
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public String getRequestURL() {
        return requestURL;
    }

    public void setRequestURL(String requestURL) {
        this.requestURL = requestURL;
    }

    public Date getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(Date timestamp) {
        this.timestamp = timestamp;
    }

    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }
}
